package com.example.baidu.ext

import com.baidu.location.BDLocation
import com.example.amap.location.bean.LocationInfo

fun BDLocation.toLocationInfo(): LocationInfo {
    return LocationInfo(locationDescribe, addrStr, city, latitude, longitude, direction)
}